package com.topone.Utils;


public class MathUtil {

    private static final Double MONEY_RANGE = 0.01;

    public static boolean equal(Double data1, Double data2) {
        Double result = Math.abs(data1 - data2);
        if (result < MONEY_RANGE) {
            return true;
        } else {
            return false;
        }
    }
}
